package com.pkx.guide.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.pkx.guide.common.annotation.DataPermission;
import com.pkx.guide.system.entity.TSysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TSysDeptMapper extends BaseMapper<TSysDept> {

    @DataPermission(deptIdColumnName = "id")
    @Override
    List<TSysDept> selectList(@Param(Constants.WRAPPER) Wrapper<TSysDept> queryWrapper);
}
